<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>5-对象相关知识</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>
    <script type="text/javascript">
        let a = "name";
        let obj = {};
        obj[a] = 'tom'
        console.log();
    </script>
</body>

</html>